﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Core.DTO.ViewModel.From
{
    public class RequestFromDTO//表单添加DTO
    {
        public int Id { get; set; }
        /// <summary>
        /// 表单名称
        /// </summary>
        [Required, Display(Name = "表单名称")]
        public string FromName { get; set; }
        /// <summary>
        /// 表单Json
        /// </summary>
        [Required, Display(Name = "表单Json")]
        public string FromJson { get; set; }
        /// <summary>
        /// 表单详情
        /// </summary>
        [Required, Display(Name = "表单详情")]
        public string FromDesc { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [Required, Display(Name = "创建人")]
        public string Name { get; set; }
        public int Delete { get; set; }
    }
}
